#ifndef TO_BE_CONTINUED_TEXT_H
#define TO_BE_CONTINUED_TEXT_H

#include "consts.h"
#include "cash.h"

class TO_BE_CONTINUED_TEXT : public QObject, public QGraphicsItemGroup
{
    Q_OBJECT

private:
    GRAPHICS_PIXMAP_ITEM *item_to;
    GRAPHICS_PIXMAP_ITEM *item_be;
    GRAPHICS_PIXMAP_ITEM *item_continued;
    GRAPHICS_PIXMAP_ITEM *item_dots;

    QTimeLine *tl_anims;

public:
    TO_BE_CONTINUED_TEXT(CASH *cash);
    ~TO_BE_CONTINUED_TEXT();

    QPainterPath shape() const;

    void anim_init();


public slots:
    void anim_show();
    void anim_hide();

};

#endif // TO_BE_CONTINUED_TEXT_H
